<!DOCTYPE html>



  


<html class="theme-next muse use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">
<script>
    (function(){
        if(''){
            if (prompt('请输入文章密码') !== ''){
                alert('密码错误！');
                history.back();
            }
        }
    })();
</script>








<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT" />










<meta name="description" content="MUGEN1.X FNTV2运用实例">
<meta property="og:type" content="article">
<meta property="og:title" content="1.X主程序完全中文化教程">
<meta property="og:url" content="https://kfm.ink/cjm4d4jyt0002e3b7x0la9azi/index.html">
<meta property="og:site_name" content="白绝">
<meta property="og:description" content="MUGEN1.X FNTV2运用实例">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2018-09-16T03:57:29.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="1.X主程序完全中文化教程">
<meta name="twitter:description" content="MUGEN1.X FNTV2运用实例">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Muse',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://kfm.ink/cjm4d4jyt0002e3b7x0la9azi/"/>





  <title>1.X主程序完全中文化教程 | 白绝</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">白绝</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">WhiteJue</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://kfm.ink/cjm4d4jyt0002e3b7x0la9azi/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="白绝">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="白绝">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">1.X主程序完全中文化教程</h1>
        

        <div class="post-meta">
          
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2018-08-05T19:52:46+08:00">
                2018-08-05
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>MUGEN1.X FNTV2运用实例<br><a id="more"></a></p>
<h3 id="界面中文化"><a href="#界面中文化" class="headerlink" title="界面中文化"></a>界面中文化</h3><p>新建一个TXT文本，内容如下：<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br></pre></td><td class="code"><pre><span class="line">[FNT v2]</span><br><span class="line">fntversion = 2,00	</span><br><span class="line">;版本</span><br><span class="line">name = &quot;&quot;		</span><br><span class="line">;字体名				</span><br><span class="line">author = &quot;&quot;		</span><br><span class="line">;作者</span><br><span class="line">[Def]</span><br><span class="line">Type = truetype    </span><br><span class="line">;字体类型，这里只用到truetype，即矢量字体</span><br><span class="line">Size = 28,28		</span><br><span class="line">;字体大小（宽，高）</span><br><span class="line">Spacing = 1,1	  </span><br><span class="line">;字间距（宽，高），高只用于truetype类型字体</span><br><span class="line">Offset = 0,0	   </span><br><span class="line">;绘图偏移量（x，y）</span><br><span class="line">File = mini.ttf     </span><br><span class="line">;字体文件</span><br><span class="line">Blend = 1          </span><br><span class="line">;是否开启混合模式</span><br></pre></td></tr></table></figure><br><strong>字体文件可以设置为中文字体</strong><br>TrueType字体定义必须伴随一个特定的.ttf或.ttc扩展名的字体文件。如果该TrueType字体文件是位于与定义文件（Def）相同的同一个目录（强烈建议），它将被加载。否则，M.U.G.E.N将尝试从Windows字体目录里加载该字体文件。<br>写完后，保存为任意名字的以def为后缀的文件，并设置编码为UTF-8。<br>之后在system.def添加一个Font，指向刚刚创建的中文字体，就能在system.def使用该字体显示中文了：<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br></pre></td><td class="code"><pre><span class="line">menu.item.font = 1,0,0,                  </span><br><span class="line">menu.item.active.font = 1,5,0,</span><br><span class="line">menu.itemname.arcade =       &quot;单人通关&quot;</span><br><span class="line">menu.itemname.versus =       &quot;双人对战&quot;</span><br><span class="line">menu.itemname.teamarcade =   &quot;组队通关&quot;</span><br><span class="line">menu.itemname.teamversus =   &quot;组队对战&quot;</span><br><span class="line">menu.itemname.teamcoop =     &quot;协作通关&quot;</span><br><span class="line">menu.itemname.survival =     &quot;生存模式&quot;</span><br><span class="line">menu.itemname.survivalcoop = &quot;协作生存模式&quot;</span><br><span class="line">menu.itemname.training =     &quot;练习模式&quot;</span><br><span class="line">menu.itemname.watch =        &quot;演武模式&quot;</span><br><span class="line">menu.itemname.options =      &quot;游戏设置&quot;</span><br><span class="line">menu.itemname.exit =         &quot;退出游戏&quot;</span><br><span class="line"></span><br><span class="line">p1.teammenu.selftitle.font = 1,3, 1,</span><br><span class="line">p1.teammenu.selftitle.text = &quot;队伍1&quot;</span><br><span class="line">p1.teammenu.enemytitle.font = 1,3, 1,</span><br><span class="line">p1.teammenu.enemytitle.text = &quot;队伍2&quot;</span><br><span class="line">p2.teammenu.selftitle.font = 1,1, -1,</span><br><span class="line">p2.teammenu.selftitle.text = &quot;队伍1&quot;</span><br><span class="line">p2.teammenu.enemytitle.font = 1,1, -1,</span><br><span class="line">p2.teammenu.enemytitle.text = &quot;队伍2&quot;</span><br><span class="line"></span><br><span class="line">match.text = &quot;第 %i 战&quot;  </span><br><span class="line">;“i%”会自动被替换为场数</span><br><span class="line">match.offset = 320, 460</span><br><span class="line">match.font = 1,0,0,</span><br><span class="line"></span><br><span class="line">[Continue Screen]</span><br><span class="line">enabled = 1               </span><br><span class="line">pos = 320,120            </span><br><span class="line">continue.text = &quot;再次挑战?&quot;</span><br><span class="line">continue.font = 1,1,0,</span><br><span class="line">continue.offset = 0,0</span><br><span class="line">yes.text = &quot;是&quot;</span><br><span class="line">yes.font = 1,1,0,</span><br><span class="line">yes.offset = -40, 60</span><br><span class="line">yes.active.text = &quot;是&quot;</span><br><span class="line">yes.active.font = 1.3,0</span><br><span class="line">yes.active.offset = -40, 60</span><br><span class="line">no.text = &quot;否&quot;</span><br><span class="line">no.font = 1,1,0,</span><br><span class="line">no.offset = 40, 60</span><br><span class="line">no.active.text = &quot;否&quot;</span><br><span class="line">no.active.font = 1,3,0,</span><br><span class="line">no.active.offset = 40, 60</span><br><span class="line"></span><br><span class="line">[Victory Screen]</span><br><span class="line">enabled = 1time = 300               </span><br><span class="line">fadein.time = 30</span><br><span class="line">fadeout.time = 30</span><br><span class="line">p1.offset = 380,40</span><br><span class="line">p1.spr = 9000,2</span><br><span class="line">p1.facing = 1</span><br><span class="line">p1.scale = 1,1</span><br><span class="line">p1.window = 380,0, 620,300</span><br><span class="line">p1.name.offset = 620,320</span><br><span class="line">p1.name.font = 1,3,-1,</span><br><span class="line">winquote.text = &quot;获胜者&quot;</span><br><span class="line">winquote.offset = 20,380</span><br><span class="line">winquote.font = 1,1,1,</span><br><span class="line">winquote.window = 0,300, 640,480</span><br><span class="line">winquote.textwrap = w</span><br></pre></td></tr></table></figure><br>对于人物和场景的displayername，也可以使用中文，但注意：<strong>存在中文的Def必须使用UTF-8编码，否则游戏中将无法正常显示</strong></p>
<h3 id="设置界面中文化"><a href="#设置界面中文化" class="headerlink" title="设置界面中文化"></a>设置界面中文化</h3>
      
    </div>
    
    
    
    

    

    

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/cjm4d4jya0000e3b7dr9c5i6u/" rel="next" title="1.1Alpha主程序热键失效的解决方法">
                <i class="fa fa-chevron-left"></i> 1.1Alpha主程序热键失效的解决方法
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name">白绝</p>
              <p class="site-description motion-element" itemprop="description">白绝的个人博客</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">9</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            

            

          </nav>

          

          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-3"><a class="nav-link" href="#界面中文化"><span class="nav-number">1.</span> <span class="nav-text">界面中文化</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#设置界面中文化"><span class="nav-number">2.</span> <span class="nav-text">设置界面中文化</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2018</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">白绝</span>

  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Muse</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

</body>
</html>
